{include app:admin.inc.header}
<!--tmpl-resource-->

<style>
    body{
        background-color:#fff;
    }
</style>
<div class="container-fluid content-body">
    <div class="main" style="padding:0">


        <!-- main content start-->
        <section  id="right-section">
            <!-- start of inner-frame -->
            <div class="inner-iframe">


                <div class="inner-container">
                    <form class="form-inline search-form" role="form">
                        <input type="hidden" name="pagesize" value="{$pagesize}">
                        <!-- search form start -->
                        <!--tmpl-search-->
                        <nav class="inline-form bgcf clearfix">
                            <div class="r">
                                <div class="form-group">
                                <div class="input-group">
                                    <div class="input-group-addon">
                                        付款方名称
                                    </div>
                                    <input type="text" class="form-control input-sm" maxlength="20" placeholder=""
                                           name="oppo_name" value="{$oppo_name}">
                                </div>
                            </div>
                            <input type="hidden" name="order" value="{$order}">
                            <button type="submit" class="btnlg mb">搜索</button>
                            </div>
                        </nav>
                            
                        <!-- search form end -->
                    </form>
                    <form id="J_List_Form" name="product_list">
                        <div class="table-responsive">
                            <table id="J_ListTable" class="table  table-hover  table-striped">

                                <thead>
                                <tr>
                                    <th width="20">&nbsp;</th>


                                    <th>流水号</th>
                                    <th>付款方名称</th>
                                    <th>付款方账户</th>
                                    <th>付款金额(￥)</th>
                                    <th>流水余额(￥)</th>
                                    <th>转账时间</th>
                                </tr>
                                </thead>
                                <tbody>
                                {if empty($items)}
                                <tr>
                                    <td style="text-align:center;" colspan="8" class="empty-table-td">{$emptyRecord}
                                    </td>
                                </tr>
                                {/if}
                                {loop $items $v}

                                <tr data-id="{$v[id]}">
                                    <td class="icheck-td">
                                        <input type="checkbox" class="icheck" name="record_id[]" value="{$v[id]}"/>
                                    </td>

                                    <td>{$v[serial_no]}</td>
                                    <td>{$v[oppo_name]}</td>
                                    <td>{$v[oppo_acc]}</td>
                                    <td>{$v[amount]}</td>
                                    <td>{$v[residual_amount]}</td>
                                    <td>{$v[dealtime]}</td>

                                </tr>
                                {/loop}


                            </table>

                        </div>

                        <!--<div style="text-align: center;">
                            <button type="submit" class="btn btn-primary" id="select_products">确定</button>
                            <a href="javascript:void(0)" class="btn btn-default" onclick="parent.layer.closeAll();">取消</a>
                        </div>-->
                    </form>
                    <div class="text-right">
                        {$pagemenu}
                    </div>
                </div>
            </div>
        </section>
    </div>
</div>

<!--footer section start-->
{include admin.inc.footer}
<!--footer section end-->

<!--tmpl-script-->


<!-- pagescript -->
<script type="text/javascript">
    seajs.use("admin/productindex", function (parameter) {

        /**--tmpl-templatejavascript--**/

        <!--tmpl-templatejavascript-->
        parameter.detailUrl = "{$detail_url}";
        parameter.doDeleteUrl = "{$do_delete_url}";
        parameter.editUrl = "{$do_edit_url}";
        parameter.doOffShelfUrl = "{url admin/product/do_offShelf}";

        parameter.image_search_url = "{$image_search_url}";
        parameter.image_list_url = "{$image_list_url}";

        parameter.init();
    });
</script>


<script id="assocpage" type="text/html">
    <div class="text-right">
        <ul class="pagination blog-pagination">
            <li><a class="assoc-page" data-page="{[prev]}" href="javascript:void(0);">上一页</a></li>
            {[loop pages page]}

            <li {[if curr== page]}class="active" {[
            /if]}><a class="assoc-page" data-page="{[page]}" href="javascript:void(0)">{[page]}</a></li>

            {[/loop]}
            <li><a class="assoc-page" href="javascript:void(0);" data-page="{[nexts]}">下一页</a></li>
        </ul>
    </div>
</script>
</body>
</html>
